// 插件作者 xiaotian2333
// 开源地址 https://github.com/xiaotian2333/DailyReport-plugin

import { get_config } from '../lib/config.js'

export class dimtown extends plugin {
    constructor() {
        super({
            name: '日报',
            dsc: '发送帮助图片',
            event: 'message',
            priority: 8000,
            rule: [
                {
                    reg: /^#?(.*)?日报帮助$/,
                    fnc: 'help'
                }
            ]
        })
    }

    async help(e) {
        e.reply(segment.image(get_config().help_img))
    }
}